package com.ruoyi.operation.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.ruoyi.common.mybatis.annotation.DataColumn;
import com.ruoyi.common.mybatis.annotation.DataPermission;
import com.ruoyi.common.mybatis.core.mapper.BaseMapperPlus;
import com.ruoyi.operation.domain.TSqltool;
import com.ruoyi.operation.domain.vo.TSqltoolVo;
import org.apache.ibatis.annotations.Param;
import org.apache.poi.ss.formula.functions.T;

import java.util.List;

/**
 * sql执行工具Mapper接口
 *
 * @author ruoyi
 * @date 2025-06-18
 */
public interface TSqltoolMapper extends BaseMapperPlus<TSqltoolMapper, TSqltool, TSqltoolVo> {
    @Override
    @DataPermission({
        @DataColumn(value = "deptid")
    })
    List<TSqltool> selectList(IPage<TSqltool> page, @Param(Constants.WRAPPER) Wrapper<TSqltool> queryWrapper);

}
